package com.cz.dao;

import com.cz.bean.User;

import java.util.List;

/**
 * Created by Administrator on 2014/12/23.
 */
public interface UserMapper {
    public User getById(String id);
    public User getByOther(String id);
    public String login(String id);
    public List<User> getAll();
    public void add(User user);
    public void update(User user);
    public void passwd(String id, String password);
    public void delete(String id);
    public List<User> getByIds(String[] ids);
    public boolean setAvatar(String id, String path);
    public User checkNick(String nick,String id);
    
}
